package sse.ustc.cc.activity;


import sse.ustc.cc.adapter.MyAdp;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.ViewPager;

public class WeekClassInfoAty extends FragmentActivity {
	public static int WEEK_NUM = 8;
	private ViewPager week_view;
	private ViewPager mVSouce;
	private MyAdp mAdapter;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.week_layout);
		
		week_view = (ViewPager)findViewById(R.id.week_classinfo);
		setmVSouce(week_view);
		mAdapter = new MyAdp(getSupportFragmentManager(), mVSouce);
		week_view.setAdapter(mAdapter);
	}

	public ViewPager getmVSouce() {
		return mVSouce;
	}

	public void setmVSouce(ViewPager mVSouce) {
		this.mVSouce = mVSouce;
	}
}
